home *** CD-ROM | disk | FTP | other *** search
- /* Amiga includes */
- #include <exec/exec.h>
- #include <dos/dos.h>
- #include <dos/rdargs.h>
- #include <dos/dostags.h>
- #include <dos/dosextens.h>
- #include <utility/tagitem.h>
-
- /* Amiga prototypes and pragmas: */
- #ifdef AZTEC_C
- #include <functions.h>
- #else
- #include <clib/exec_protos.h>
- #include <clib/dos_protos.h>
- #endif
-
- /* Socket library includes: */
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <ss/socket.h>
- #include <netdb.h>
-
- /* ANSI includes: */
- #include <stdio.h>
- #include <string.h>
- #include <stddef.h>
- #include <stdarg.h>
- #include <errno.h>
-
- /* Unix compatibility functions */
- #define perror(x) printf("%s: %s\n", x, strerror(errno));
-
-
- /*
- ** Length of buffer, also max length of filenames.
- ** Should be at least 255 so that long filenames can be handled.
- ** Ncopy buffers currently eat stack, so very large buffers should be
- ** avoided or the implementation should be changed to utilize non-stack
- ** buffers.
- */
- #define LENGTH 1024
-